// vite.config.js
import { fileURLToPath, URL } from "node:url";
import { defineConfig } from "file:///C:/Users/handsomedog/Desktop/TianTai/Tiantai-phone/node_modules/vite/dist/node/index.js";
import AutoImport from "file:///C:/Users/handsomedog/Desktop/TianTai/Tiantai-phone/node_modules/unplugin-auto-import/dist/vite.js";
import Components from "file:///C:/Users/handsomedog/Desktop/TianTai/Tiantai-phone/node_modules/unplugin-vue-components/dist/vite.js";
import { ElementPlusResolver } from "file:///C:/Users/handsomedog/Desktop/TianTai/Tiantai-phone/node_modules/unplugin-vue-components/dist/resolvers.js";
import vue from "file:///C:/Users/handsomedog/Desktop/TianTai/Tiantai-phone/node_modules/@vitejs/plugin-vue/dist/index.mjs";
var __vite_injected_original_import_meta_url = "file:///C:/Users/handsomedog/Desktop/TianTai/Tiantai-phone/vite.config.js";
var vite_config_default = defineConfig({
  plugins: [
    vue(),
    AutoImport({
      resolvers: [ElementPlusResolver()]
    }),
    Components({
      resolvers: [ElementPlusResolver()]
    })
  ],
  resolve: {
    alias: {
      "@": fileURLToPath(new URL("./src", __vite_injected_original_import_meta_url))
    }
  },
  server: {
    host: "0.0.0.0",
    port: 81,
    proxy: {
      "/api": {
        target: "http://localhost:8080",
        // target:"http://36.213.10.22:9092",
        changeOrigin: true,
        rewrite: (p) => p.replace(/^\/api/, "")
      }
    }
  },
  build: {
    outDir: "phone"
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJDOlxcXFxVc2Vyc1xcXFxoYW5kc29tZWRvZ1xcXFxEZXNrdG9wXFxcXFRpYW5UYWlcXFxcVGlhbnRhaS1waG9uZVwiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9maWxlbmFtZSA9IFwiQz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